@import "../../../grid";
@import "../../../base/display/set14-template";

.tvo-#{$template-name}-template {
  &.tvo-testimonials-display-single {
    .tvo-testimonial-display-item {
      margin-bottom: $grid-item-padding-side *2;
      padding: $grid-item-padding;

      h4 {
        font-size: $title-size-large;
        font-weight: $title-weight-large;
        line-height: $title-line-height-large;
        margin-bottom: $title-small-margin-bottom;
        margin-top: 0;
      }
    }

    .tvo-testimonial-quote {
      margin-bottom: ($quote-margin-bottom *2);
    }

    .tvo-item-grid {
      -webkit-align-items: center;
      align-items: center;
    }

    .tvo-image-wrapper {
      min-width: $image-size;
      margin-bottom: -($image-size * .6);
    }

    .tvo-testimonial-image-cover {
      border-radius: $image-border-radius;
      height: $image-size;
      width: $image-size;
    }

    .tvo-testimonial-image {
      height: $image-size;
      width: $image-size;
    }

    .tvo-testimonial-info {
      -webkit-flex: 1;
      flex: 1;
      margin-top: $grid-item-padding-vertical;
      padding-left: $grid-item-padding-vertical;
    }

    .tvo-testimonial-name {
      color: $name-color-dark;
      display: block;
      font-size: $name-size * 1.33;
      font-weight: $name-weight;
      line-height: $name-line-height;
    }

    .tvo-testimonial-role {
      color: $job-color-dark;
      font-size: $job-size 1.33;
      font-weight: $job-weight;
      line-height: $job-line-height;

      a {
        color: inherit;
        text-decoration: none;
      }
    }
  }
}

@media (max-width: 540px) {
  .tvo-set14-template.tvo-testimonials-display-single .tvo-testimonial-image-cover {
    height: $image-size-small;
    width: $image-size-small;
  }
  .tvo-set14-template.tvo-testimonials-display-single .tvo-testimonial-image {
    height: $image-size-small;
    width: $image-size-small;
  }
  .tvo-set14-template.tvo-testimonials-display-single .tvo-image-wrapper {
    min-width: $image-size-small;
  }
}

